WprAddons\Modules\PromoBox\Widgets\Wpr_Promo_Box A

Total Complexity 60
Dependencies 9
Dependents 0
Total lines 1,623
Lines of code 1,418
Logical lines of code 215
Comment lines 31
Methods 24
Properties 0

Methods 24

Method Rating Maintainability Complexity Lines of code
register_controls()
D
6
1 1,224
render()
D
29
35 118
add_control_border_animation()
S
54 1 23
add_control_image_style()
S
59 1 16
get_categories()
S
78 2 3
get_custom_help_url()
S
76 2 4
add_section_style_badge()
S
98 1 1
render_pro_element_badge()
S
98 1 1
add_args_animation_timings()
S
81 1 3
add_control_group_btn_animation_section()
S
98 1 1
add_control_group_description_animation_section()
S
98 1 1
add_control_group_title_animation_section()
S
98 1 1
add_control_group_icon_animation_section()
S
98 1 1
get_name()
S
82 1 3
add_section_badge()
S
98 1 1
add_control_content_hover_bg_color()
S
98 1 1
get_title()
S
79 1 3
add_control_image_min_height()
S
98 1 1
add_control_image_min_width()
S
98 1 1
add_control_image_position()
S
98 1 1
get_style_depends()
S
81 1 3
get_keywords()
S
77 1 3
get_icon()
S
82 1 3
add_control_content_bg_color()
S
98 1 1